<form id="answerForm" class="form-horizontal" method="post" action="${cxt!}/admin/helpMessage/add" >
	<input type="hidden" name="helpMessageReply.messageid" value="${helpMessage.id!}">
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["help.center.message.comments"]}</label>
		<div class="col-md-10">
			<p class="form-control-static">${helpMessage.comments!}</p>
         </div>
	</div>
	
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["help.center.message.usertype"]}</label>
		<div class="col-md-10">
			<p class="form-control-static"><#dict type="lable" value="${helpMessage.usertype!}" name="helpMessage.usertype" dictCode="HELP_USER_TYPE" /></p>
         </div>
	</div>
	
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["help.center.message.email"]}</label>
		<div class="col-md-10">
			<p class="form-control-static">${helpMessage.email!}</p>
         </div>
	</div>
	
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["help.center.message.mobilenumber"]}</label>
		<div class="col-md-10">
			<p class="form-control-static">${helpMessage.mobilenumber!}</p>
         </div>
	</div>
	
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["help.center.message.category"]}</label>
		<div class="col-md-10">
			<p class="form-control-static"><#dict type="lable" value="${helpMessage.category!}" name="helpMessage.category" dictCode="HELP_CATEGORY" /></p>
         </div>
	</div>
	
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["help.center.message.createtime"]}</label>
		<div class="col-md-10">
			<p class="form-control-static">${helpMessage.createtime!,dateFormat="yyyy-MM-dd HH:mm"}</p>
         </div>
	</div>
	
	<div class="form-group">
		<label class="col-md-2 control-label">${_res["help.center.message.answer"]}</label>
		<div class="col-md-10">
			<textarea name="helpMessageReply.answer" rows="10" cols="10" class="form-control" required aria-required="true">${helpMessageReply.answer!}</textarea>
         </div>
	</div>
		
	<div class="form-group">
       <div class="col-md-5 col-md-offset-2 control-label">
       		<% if(hasPrivilegeUrl("helpMessageList")){ %>
	         	<button type="button" class="btn btn-warning" onClick="ajaxContent('/admin/helpMessage/list')">${_res["system.return"]}</button>
         	<% } %>
       		<% if(hasPrivilegeUrl("helpMessageAdd")){ %>
	         	<button type="submit" class="btn btn-primary">${_res["system.save"]}</button>
         	<% } %>
			<#submit formId="answerForm" divId="content" />
       </div>
    </div>
</form>